home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d18
/
fulldb13.arc
/
PARSE.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-10-18
|
481b
|
26 lines
unit parse;
{ Unit to parse strings & demonstrate FULLDB }
{ Compile in the regular way, then run
FULLDB parse
to add debugging information from PARSE.OBJ to PARSE.TPU. }
interface
function wordcount(s:string):integer;
{ Count the words in s with blanks as delimiters }
function getword(n:integer;s:string):string;
{ Get word n from string s }
implementation
function wordcount; external;
function getword; external;
{$L parse.obj}
end.